package com.yc.cloud.adminweb.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

//@FeignClient(value = "user-service")//微服务名称
@FeignClient(value = "zuul-server")//微服务名称
public interface UserFeignClient {

//	@GetMapping("/user/{id}")
//	String findById(@PathVariable("id") Integer id);

	@GetMapping("/cloud/user/user/{id}")
	String findById(@PathVariable("id") Integer id);

}
